@using OrchardCore.ContentManagement

@{
    ContentItem contentItem = Model.ContentItem;
}

<div class="properties">
    @if (Model.Actions != null)
    {
        <div class="related float-right">
            @await DisplayAsync(Model.Actions)
        </div>
    }

    <div class="custom-control custom-checkbox float-left">
        <input type="checkbox" class="custom-control-input" value="@contentItem.Id" name="itemIds" id="itemIds-@contentItem.Id">
        <label class="custom-control-label" for="itemIds-@contentItem.Id">&nbsp;</label>
    </div>

    <a admin-for="@contentItem" asp-route-returnUrl="@FullRequestPath" /> - <small class="text-muted">@contentItem.ContentType</small>

    @if (Model.Header != null)
    {
        <div class="header">@await DisplayAsync(Model.Header)</div>
    }

    @if (Model.Meta != null)
    {
        <div class="metadata">
            @await DisplayAsync(Model.Meta)
        </div>
    }
</div>

@if (Model.Content != null)
{
    <div class="primary">@await DisplayAsync(Model.Content)</div>
}
